package com.atguigu.lease.web.admin.test;

import com.wf.captcha.SpecCaptcha;

/**
 * @author 张英杰
 * @date 2025/10/14/014 16:38
 */
public class T1 {

    public static void main(String[] args) {    // 生成验证码

        SpecCaptcha specCaptcha = new SpecCaptcha(200,100,4);

        String text = specCaptcha.text().toLowerCase();// 文本
        String img = specCaptcha.toBase64();// 图片

        System.out.println(text);
        System.out.println("==============================");
        System.out.println(img);


    }

}
